import type { App } from "vue";
import IBizCodeList from "./code-list/i-biz-code-list.vue";
import IBizCol from "./col/i-biz-col.vue";
import IBizControlBase from "./control-base/i-biz-control-base.vue";
import IBizIcon from "./icon/i-biz-icon.vue";
import IBizInputBase from "./input-base/i-biz-input-base.vue";
import IBizRawItem from "./raw-item/i-biz-raw-item.vue";
import IBizRow from "./row/i-biz-row.vue";
import IBizScrollRefreshLoad from "./scroll-refresh-load/i-biz-scroll-refresh-load.vue";
import IBizSwipeAction from "./swipe-action/i-biz-swipe-action.vue";
import IBizTab from "./tab/i-biz-tab.vue";
import IBizTabbar from "./tabbar/i-biz-tabbar.vue";
import IBizTabbarItem from "./tabbar-item/i-biz-tabbar-item.vue";
import IBizTabs from "./tabs/i-biz-tabs.vue";
import IBizView from "./view/i-biz-view.vue";

export const IBizCommon = {
  install(v: App) {
    v.component("IBizCodeList", IBizCodeList);
    v.component("IBizCol", IBizCol);
    v.component("IBizControlBase", IBizControlBase);
    v.component("IBizIcon", IBizIcon);
    v.component("IBizInputBase", IBizInputBase);
    v.component("IBizRawItem", IBizRawItem);
    v.component("IBizRow", IBizRow);
    v.component("IBizScrollRefreshLoad", IBizScrollRefreshLoad);
    v.component("IBizSwipeAction", IBizSwipeAction);
    v.component("IBizTab", IBizTab);
    v.component("IBizTabbar", IBizTabbar);
    v.component("IBizTabbarItem", IBizTabbarItem);
    v.component("IBizTabs", IBizTabs);
    v.component("IBizView", IBizView);
  },
};
